import java.util.Scanner;

/**
 * 字符串排序
 * 输入：

 A Famous Saying: Much Ado About Nothing(2012/8).

 输出：

 A  aaAAbc   dFgghh :  iimM   nNn   oooos   Sttuuuy  (2012/8).
 * Created by JiaJia on 2019/6/21 0021.
 */
public class HuaWei025 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        while (scanner.hasNext()){
            String input=scanner.nextLine();
            System.out.println(stringSort(input));
        }
        scanner.close();
    }
    private static boolean isLetter(char c){
        if (c>='a'&&c<='z' || c>='A'&&c<='Z'){
            return true;
        }
        return false;
    }
    private static String stringSort(String str){
        StringBuilder builder=new StringBuilder();
        for (int i = 0; i <26 ; i++) {
            for (int j = 0; j <str.length() ; j++) {
                if (str.charAt(j)==(i+'a')||str.charAt(j)==(i+'A')){
                    builder.append(str.charAt(j));
                }
            }

        }
        StringBuilder result=new StringBuilder();
        int k=0;
        for (int i = 0; i <str.length() ; i++) {
            if (!isLetter(str.charAt(i))){
                result.append(str.charAt(i));
            }else {
                result.append(builder.charAt(k));
                k++;
            }
        }
        return result.toString();
    }
}